package 软件开发原则.里氏替换原则.after;
//正方形类
public class Square implements Quadrilateral{

    private double side;//边长

    @Override
    public double getLength() {
        return 0;
    }

    @Override
    public double getWidth() {
        return 0;
    }

    public double getSide() {
        return side;
    }

    public void setSide(double side) {
        this.side = side;
    }
}
